﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using IFilterData64;
using IFilterData64.Controllers;
using LWinfrastructure;


namespace IFilterData64.Tests.Controllers
{
    [TestClass]
    public class ValuesControllerTest
    {
        [TestMethod]
        public void GetFileText()
        {
            // Arrange
            ValuesController controller = new ValuesController();

            // Act
            FileText result = controller.Get(@"C:\LynxWiki-root\LynxWiki\Attachments\upload\docs\ASPNET_MVC_Tutorial_9_CS.pdf");

            // Assert
            Assert.IsTrue(result.TextData.Length > 0);
        }

    }
}
